cask 'vagrant-manager' do
  version '2.7.1'
  sha256 'ad10795f36a2c0977ec8e278082f1f66624cc3b16f837dc72c0f1c063fefb4de'

  # github.com/lanayotech/vagrant-manager/ was verified as official when first introduced to the cask
  url "https://github.com/lanayotech/vagrant-manager/releases/download/#{version}/vagrant-manager-#{version}.dmg"
  appcast 'https://github.com/lanayotech/vagrant-manager/releases.atom'
  name 'Vagrant Manager'
  homepage 'https://www.vagrantmanager.com/'

  app 'Vagrant Manager.app'

  uninstall quit: 'lanayo.Vagrant-Manager'

  zap trash: [
               '~/Library/Caches/lanayo.Vagrant-Manager',
               '~/Library/Preferences/lanayo.Vagrant-Manager.plist',
             ]
end
